import request from '../utils/request'
import {getToken} from '../utils/localData'
export const uploadFileAPL=(fd) =>{
    return request({
        method:'POST',
        url: '/upload',
        headers:{
            Authorization:getToken(),
        },
        // 注意：上传文件的时候，需要用 FormData
        data:fd,
    })
}